﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_console/_console.Master" AutoEventWireup="true" CodeBehind="privilege-list.aspx.cs" Inherits="SmartSpace.WebApp._console.core.privilege_list" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
    权限资源管理
    <small>manage the privilege of system</small>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <a href="./privilege-add.aspx">add</a>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <div class="box">
        <h2>权限资源列表</h2>
        <div class="block">
            <table class="list">
                <asp:Repeater ID="_ctlListPrivilege" runat="server">
                    <HeaderTemplate>
                        <thead>
                            <tr>
                                <th>-
                                </th>
                                <th>Type
                                </th>
                                <th>Code
                                </th>
                                <th>Caption
                                </th>
                                <th>Description
                                </th>
                            </tr>
                        </thead>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:CheckBox ID="_ctlCheckId" runat="server" />
                                <asp:HiddenField ID="_ctlHiddenId" runat="server" Value='<%# Eval("Id") %>' />
                            </td>
                            <td>
                                <%# Eval("Type") %>
                            </td>
                            <td>
                                <%# Eval("Code") %>
                            </td>
                            <td>
                                <%# Eval("Caption") %>
                            </td>
                            <td>
                                <%# Eval("Description") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
        </div>
    </div>
</asp:Content>
